package biz.datalk.industrialland.mbg.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

@TableName(value = "sys_config")
public class SysConfig {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 系统变量名称
     */
    @TableField(value = "cfg_name")
    private String cfgName;

    /**
     * 系统变量Key
     */
    @TableField(value = "cfg_key")
    private String cfgKey;

    /**
     * 系统变量Value
     */
    @TableField(value = "cfg_value")
    private String cfgValue;

    /**
     * 说明
     */
    @TableField(value = "cfg_remark")
    private String cfgRemark;

    /**
     * 过期时间(秒) 0 不过期 否则过期
     */
    @TableField(value = "cfg_expire")
    private Integer cfgExpire;

    /**
     * Y-有效 N-无效
     */
    @TableField(value = "is_valid")
    private String isValid;

    /**
     * Y-已删除 N-未删除
     */
    @TableField(value = "is_delete")
    private String isDelete;

    @TableField(value = "create_by")
    private Long createBy;

    @TableField(value = "create_name")
    private String createName;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "update_by")
    private Long updateBy;

    @TableField(value = "update_name")
    private String updateName;

    @TableField(value = "update_time")
    private Date updateTime;

    public static final String COL_ID = "id";

    public static final String COL_CFG_NAME = "cfg_name";

    public static final String COL_CFG_KEY = "cfg_key";

    public static final String COL_CFG_VALUE = "cfg_value";

    public static final String COL_CFG_REMARK = "cfg_remark";

    public static final String COL_CFG_EXPIRE = "cfg_expire";

    public static final String COL_IS_VALID = "is_valid";

    public static final String COL_IS_DELETE = "is_delete";

    public static final String COL_CREATE_BY = "create_by";

    public static final String COL_CREATE_NAME = "create_name";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_BY = "update_by";

    public static final String COL_UPDATE_NAME = "update_name";

    public static final String COL_UPDATE_TIME = "update_time";

    /**
     * 获取id
     *
     * @return id - id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置id
     *
     * @param id id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取系统变量名称
     *
     * @return cfg_name - 系统变量名称
     */
    public String getCfgName() {
        return cfgName;
    }

    /**
     * 设置系统变量名称
     *
     * @param cfgName 系统变量名称
     */
    public void setCfgName(String cfgName) {
        this.cfgName = cfgName;
    }

    /**
     * 获取系统变量Key
     *
     * @return cfg_key - 系统变量Key
     */
    public String getCfgKey() {
        return cfgKey;
    }

    /**
     * 设置系统变量Key
     *
     * @param cfgKey 系统变量Key
     */
    public void setCfgKey(String cfgKey) {
        this.cfgKey = cfgKey;
    }

    /**
     * 获取系统变量Value
     *
     * @return cfg_value - 系统变量Value
     */
    public String getCfgValue() {
        return cfgValue;
    }

    /**
     * 设置系统变量Value
     *
     * @param cfgValue 系统变量Value
     */
    public void setCfgValue(String cfgValue) {
        this.cfgValue = cfgValue;
    }

    /**
     * 获取说明
     *
     * @return cfg_remark - 说明
     */
    public String getCfgRemark() {
        return cfgRemark;
    }

    /**
     * 设置说明
     *
     * @param cfgRemark 说明
     */
    public void setCfgRemark(String cfgRemark) {
        this.cfgRemark = cfgRemark;
    }

    /**
     * 获取过期时间(秒) 0 不过期 否则过期
     *
     * @return cfg_expire - 过期时间(秒) 0 不过期 否则过期
     */
    public Integer getCfgExpire() {
        return cfgExpire;
    }

    /**
     * 设置过期时间(秒) 0 不过期 否则过期
     *
     * @param cfgExpire 过期时间(秒) 0 不过期 否则过期
     */
    public void setCfgExpire(Integer cfgExpire) {
        this.cfgExpire = cfgExpire;
    }

    /**
     * 获取Y-有效 N-无效
     *
     * @return is_valid - Y-有效 N-无效
     */
    public String getIsValid() {
        return isValid;
    }

    /**
     * 设置Y-有效 N-无效
     *
     * @param isValid Y-有效 N-无效
     */
    public void setIsValid(String isValid) {
        this.isValid = isValid;
    }

    /**
     * 获取Y-已删除 N-未删除
     *
     * @return is_delete - Y-已删除 N-未删除
     */
    public String getIsDelete() {
        return isDelete;
    }

    /**
     * 设置Y-已删除 N-未删除
     *
     * @param isDelete Y-已删除 N-未删除
     */
    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    /**
     * @return create_by
     */
    public Long getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    /**
     * @return create_name
     */
    public String getCreateName() {
        return createName;
    }

    /**
     * @param createName
     */
    public void setCreateName(String createName) {
        this.createName = createName;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return update_by
     */
    public Long getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * @return update_name
     */
    public String getUpdateName() {
        return updateName;
    }

    /**
     * @param updateName
     */
    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    /**
     * @return update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}